package com.anycl.design.principle.lkp;

import java.util.Arrays;

public class Main {
    public static void main(String[] args) {
        Teacher teacher = new Teacher();
        GroupLeader groupLeader = new GroupLeader(Arrays.asList(new Girl(), new Girl()));
        teacher.command(groupLeader);
    }
}
